package com.itasura.builder.bike;

/**
 * @author sailor wang
 * @date 2020/6/30 7:31 PM
 * @description
 */
public class Click {
    public static void main(String[] args) {
        showBike(new MobikeBike());
    }
    private static void showBike(Builder builder){
        Director director = new Director(builder);
        Bike bike = director.construct();
        bike.getiFrame().frame();
        bike.getiSeat().seat();
        bike.getiTire().tire();
    }
}